from django.urls import path
from snippets import views

from rest_framework.urlpatterns import format_suffix_patterns

app_name = 'snippets'
urlpatterns = [
    path('', views.SnippetList.as_view()),
    path('<int:pk>', views.SnippetDetail.as_view()),
]

urlpatterns = format_suffix_patterns(urlpatterns)
